class Watcher {
	constructor(key, fn) {
		this.key = key;
		this.fn = fn;
	}
	update() {
		this.fn(this.key);
	}
}

module.exports = Watcher;